<?php
class TwitterModel extends AppModel {

    var $useDbConfig = 'twitter';
    var $useTable = false;

    function __construct() {
        $args = func_get_args();
        $return = call_user_func_array(array('parent', '__construct'), $args);
        $this->Twitter = $this->getDataSource();

        return $return;
    }

    function setOAuthCredentials($key, $secret) {
        return $this->Twitter->setOAuthCredentials($key, $secret);
    }

}
?>
